package com.jeesite.modules.home.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

import java.util.Optional;

/**
 * 督办首页任务预警entity
 */
@Table(name="js_sys_msg_push", alias="a", label="", columns={
        @Column(name="id", attrName="id", label="主键", isPK=true),
        @Column(name="taskTitle", attrName="task_title", label="任务标题"),
        @Column(name="taskTypeName", attrName="task_type_name", label="任务类型"),
        @Column(name="taskContent", attrName="task_content", label="任务内容"),
        @Column(name="feedbackCount", attrName="feedback_count", label="预警情况"),
}, orderBy="a.id DESC"
)
public class DcSupWarningDto extends DataEntity<DcSupWarningDto> {

    private static final long serialVersionUID = 1L;

    /**
     * 任务标题
     */
    private String taskTitle;
    private String taskYear;

    /**
     * 任务id
     */
    private String id;

    /**
     * action id
     */
    private String actionId;
    private String taskId;

    /**
     *  任务类型code
     */
    private String taskTypeCode;

    /**
     * 任务类型name
     */
    private String taskTypeName;
    /**
     *  任务内容
     */
    private String taskContent;

    /**
     * 预警情况
     */
    private Integer feedbackCount;
    private Integer feedbackCount1;

    /**
     * 当前登录人所在机构
     */
    private String createOrg;
    /**
     * 督办首页限制条数1限制0不限制
     */
    private String limit;
    private String remarks2;
    private String remarks3;
    private String messageNumber;
    private String leaderOrgName;


    public String getTaskYear() {
        return taskYear;
    }

    public void setTaskYear(String taskYear) {
        this.taskYear = taskYear;
    }

    public String getLeaderOrgName() {
        return leaderOrgName;
    }

    public void setLeaderOrgName(String leaderOrgName) {
        this.leaderOrgName = leaderOrgName;
    }

    public String getMessageNumber() {
        return messageNumber;
    }

    public void setMessageNumber(String messageNumber) {
        this.messageNumber = messageNumber;
    }

    public String getRemarks2() {
        return remarks2;
    }

    public void setRemarks2(String remarks2) {
        this.remarks2 = remarks2;
    }

    public String getRemarks3() {
        return remarks3;
    }

    public void setRemarks3(String remarks3) {
        this.remarks3 = remarks3;
    }

    public String getLimit() {
        return limit;
    }

    public void setLimit(String limit) {
        this.limit = limit;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getCreateOrg() {
        return createOrg;
    }

    public void setCreateOrg(String createOrg) {
        this.createOrg = createOrg;
    }

    public String getTaskTitle() {
        return taskTitle;
    }

    public void setTaskTitle(String taskTitle) {
        this.taskTitle = taskTitle;
    }

    public String getTaskTypeCode() {
        return taskTypeCode;
    }

    public void setTaskTypeCode(String taskTypeCode) {
        this.taskTypeCode = taskTypeCode;
    }

    public String getTaskContent() {
        return taskContent;
    }

    public void setTaskContent(String taskContent) {
        this.taskContent = taskContent;
    }

    public Integer getFeedbackCount() {
        return feedbackCount==null?0:feedbackCount;
    }

    public void setFeedbackCount(Integer feedbackCount) {
        this.feedbackCount = feedbackCount;
    }

    public Integer getFeedbackCount1() {
        return feedbackCount1;
    }

    public void setFeedbackCount1(Integer feedbackCount1) {
        this.feedbackCount1 = feedbackCount1;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public String getActionId() {
        return actionId;
    }

    public void setActionId(String actionId) {
        this.actionId = actionId;
    }


    public String getTaskTypeName() {
        return taskTypeName;
    }

    public void setTaskTypeName(String taskTypeName) {
        this.taskTypeName = taskTypeName;
    }
}
